import request from '@/utils/request'

// 查询涌水量测点基础信息列表
export function listGushingDefine(query) {
    return request({
        url: '/define/gushingDefine/list',
        method: 'get',
        params: query
    })
}

// 查询涌水量测点基础信息详细
export function getGushingDefine(id) {
    return request({
        url: '/define/gushingDefine/' + id,
        method: 'get'
    })
}

// 新增涌水量测点基础信息
export function addGushingDefine(data) {
    return request({
        url: '/define/gushingDefine',
        method: 'post',
        data: data
    })
}

// 修改涌水量测点基础信息
export function updateGushingDefine(data) {
    return request({
        url: '/define/gushingDefine',
        method: 'put',
        data: data
    })
}

// 删除涌水量测点基础信息
export function delGushingDefine(id) {
    return request({
        url: '/define/gushingDefine/' + id,
        method: 'delete'
    })
}
